package ioc01;

public class MyBean {
    int i;
    String name;
    Double salary;
    Class clazz;

    public int getI() {
        return i;
    }

    public void setI(int i) {
        this.i = i;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    @Override
    public String toString() {
        return "MyBean{" +
                "i=" + i +
                ", name='" + name + '\'' +
                ", salary=" + salary +
                ", clazz=" + clazz +
                '}';
    }
}
